package com.baida.retail.tasksystem.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * Created by eric on 2020/4/17.
 */
@Configuration
@ConfigurationProperties(prefix = "common-service")
public class CommonServiceConfig {
    private int gid;
    private String keyForGid;
    private int mid;
    private String keyForMid;
    private String serverUrl;

    public int getGid() {
        return gid;
    }

    public void setGid(int gid) {
        this.gid = gid;
    }

    public String getKeyForGid() {
        return keyForGid;
    }

    public void setKeyForGid(String keyForGid) {
        this.keyForGid = keyForGid;
    }

    public int getMid() {
        return mid;
    }

    public void setMid(int mid) {
        this.mid = mid;
    }

    public String getKeyForMid() {
        return keyForMid;
    }

    public void setKeyForMid(String keyForMid) {
        this.keyForMid = keyForMid;
    }

    public String getServerUrl() {
        return serverUrl;
    }

    public void setServerUrl(String serverUrl) {
        this.serverUrl = serverUrl;
    }
}
